package com.bayihouse.model.enums;

import jnr.ffi.annotations.In;
import org.apache.commons.lang3.ObjectUtils;

import java.util.Arrays;
import java.util.List;
import java.util.stream.Collectors;

public enum RoomRoleEnum {

    BUSINESS_USING("商用", 1),
    LIVING_USING("住房", 0);


    private final String text;

    private final Integer value;

    RoomRoleEnum(String text, Integer value) {
        this.text = text;
        this.value = value;
    }


    public Integer getValue() {
        return value;
    }

    public String getText() {
        return text;
    }
}
